package com.yitao.client.dto.rollinInventory;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Author: wwl
 * @Date: 2019/5/6 16:30
 * @Description:
 */
public class RollinAllotHistoryDto extends BaseDto {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;


    /**
     * 关联的商品id
     */
    @ApiModelProperty("关联的商品id(必填)")
    private Long productId;


    /**
     * 商品规格id
     */
    @ApiModelProperty("商品规格id(必填)")
    private Long productSkuId;

    /**
     * 单据Id
     */
    @ApiModelProperty("单据Id")
    private Long invoiceId;
    /**
     * 关联采购订单detailID
     */
    @ApiModelProperty("关联采购订单detailID")
    private Long detailId;
    /**
     * 单据类型:0,采购入库单，1.销售出库单，2.调拨出库单，3调拨入库单
     */
    @ApiModelProperty("单据类型:0,采购入库单，1.销售出库单，2.调拨出库单，3调拨入库单(必填)")
    private Integer documentType;


    /**
     * 调拨类型:0:减；1：加
     */
    @ApiModelProperty("调拨类型:0:减；1：加(必填)")
    private Integer allotType;


    /**
     * 调拨数量
     */
    @ApiModelProperty("调拨数量(必填)")
    private Integer allotNumber;


    /**
     * 门店id
     */
    @ApiModelProperty("门店id")
    private Long shopId;


    /**
     * 库存类型:1.采购车，2，仓库
     */
    @ApiModelProperty("库存类型:1.采购车，2，仓库(必填)")
    private Integer inventoryType;


    /**
     * 状态:0:待处理；1：处理成功
     */
    @ApiModelProperty("状态:0:待处理；1：处理成功")
    private Integer state;


    /**
     * 是否被删除 0 否 1 是
     */
    @ApiModelProperty("是否被删除 0 否 1 是")
    private Boolean isDelete;


    /**
     *  创建时间
     *  @mbggenerated
     */
    @ApiModelProperty("业务完成时间")
    private Date serviceTime;
    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 最后更新人
     */
    @ApiModelProperty("最后更新人")
    private Long lastUpdateBy;


    /**
     * 最后修改时间
     */
    @ApiModelProperty("最后修改时间")
    private Date lastUpdateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getProductSkuId() {
        return productSkuId;
    }

    public void setProductSkuId(Long productSkuId) {
        this.productSkuId = productSkuId;
    }

    public Integer getAllotType() {
        return allotType;
    }

    public void setAllotType(Integer allotType) {
        this.allotType = allotType;
    }

    public Integer getAllotNumber() {
        return allotNumber;
    }

    public void setAllotNumber(Integer allotNumber) {
        this.allotNumber = allotNumber;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getInventoryType() {
        return inventoryType;
    }

    public void setInventoryType(Integer inventoryType) {
        this.inventoryType = inventoryType;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Long getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(Long invoiceId) {
        this.invoiceId = invoiceId;
    }

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Integer getDocumentType() {
        return documentType;
    }

    public void setDocumentType(Integer documentType) {
        this.documentType = documentType;
    }

    public Date getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }
}
